we will set up two typical services for mail:
The differences between POP3 and IMAP are littles but importants:
POP3 |
IMAP |
Since email needs to be downloaded into
desktop PC before being displayed, you may have the following problems for
POP3 access:
The downloaded email may be deleted from the server depending on the setting of your email client. |
Since email is kept on server, it would gain
the following benefits for IMAP access:
|
All messages as well as their attachments will be downloaded into desktop PC during the 'check new email' process. | A whole message will be downloaded only when it is opened for display from its content. |
Mailboxes can only be created on desktop PC. There is only one mailbox (INBOX) exists on the server. | Multiple mailboxes can be created on the desktop PC as well as on the server. |
Filters can transfer incoming/outgoing messages only to local mailboxes. | Filters can transfer incoming/outgoing messages to other mailboxes no matter where the mailboxes locate (on the server or the PC). |
Outgoing email is stored only locally on the desktop PC. | Outgoing email can be filtered to a mailbox on server for accessibility from other machine. |
Messages are deleted on the desktop PC. Comparatively, it is inconvenient to clean up your mailbox on the server. | Messages can be deleted directly on the server to make it more convenient to clean up your mailbox on the server. |
Messages may be reloaded onto desktop PC several times due to the corruption of system files. | The occurrence of reloading messages from the server to PC is much less when compared to POP3. |
/etc/dovecot/conf.d/10-auth.conf
and /etc/dovecot/conf.d/10-mail.conf
./etc/exim4/update-exim4.conf.conf
about your DNS:dc_eximconfig_configtype='internet'
dc_other_hostnames='$DNS_NAME'
dc_local_interfaces=''
dc_readhost=''
dc_relay_domains='$RELAY_DOMAINS'
dc_minimaldns='false'
dc_relay_nets='$LOCAL_NETWORK'
dc_smarthost=''
CFILEMODE='644'
dc_use_split_config='false'
dc_hide_mailname=''
dc_mailname_in_oh='true'
dc_localdelivery='maildir_home'